import os
your_path = r"D:\.爬取为txt\data"
if(os.path.exists(your_path) == False):
    os.makedirs(your_path)